public class If_Else_condition {
    public static void main(String[] args) {
        // If -else condition in Java
        int age = 25;
        if (age >= 18) {
            System.out.println("You are an adult.");
      } else {
            System.out.println("You are underage.");
        }
    }
}
